" 替换光标下的词
let b:coc_root_patterns = ['.git', '.env']

"获得一个文件名的宏: oS:let @a=expand("%:p")"ap:s/\//_/g:s/\./_/gsnv$~0kJ
"替换pragma once: /#pragma onceS#define \53xyyppkkwciwifndefjjciwendif //0GoS``ddGp``kk
"Mock一个类: %s/virtual \(.*\) \(\w*\)\((.*)\) \(const \)\?= 0/MOCK_\4METHOD(\2, \1\3)/g
"获得测试类名存在H里: gg/namespace OHOSjwsn"hyiw
"(光标在空行上)生成HWTEST_F: 7j7k?* Functionsnma}mbIHWTEST_F(jk"hpa, jk`awWYjma`b$pa, jk`a0wwWYjma`b$pa | SmallTest | Leveljk`a%yi(ma`b$pa)jkmbo{}jkkkk
"(光标在空行上)生成PARTCaseDescription: 7j7kkOPART("CaseDescription") {}}}
"(光标在空行上)根据CaseDescription生成STEP: 7j7k?CaseDescription:snV}7ky}2kP}3k[[2jEElc		STEP("kl?kb?kbjk}3k$A") {}jk}}
"a(IF): I// IF jkhviwS)0w
"s(ERROR): %l%I// ERROR jkwviw%l%hhS)0w
"d(CALL): v$hS"A;mmV/{%=mmjI=> IljI//n%i//hsn
"d(CALL): v$hS"ji=> 0wjIl/{I//n%i//l%zz0wsn
"f(IF scope): v$%I// (IF) jk
"g(IF empty line): S// (IFjk0j
"h(highlight operation): yiwO//i**i  PlvBhS>jb
"j(ERROR): jI// ERROR wjeS)0wjj
